<?php
/**
 * @brief Common include file.
 *
 * @license 	GNU Public License
 * @copyright	2007 David Singer
 * @author	   	David Singer <david@ramaboo.com>
 * @version    	1.0.0
 */

session_start();

// include the config file
require_once('config.php');

// include the functions file
require_once('functions.php');

// include classes
function __autoload($class_name) {
	require_once ($_SERVER['DOCUMENT_ROOT'] . 'classes/' . $class_name . '.php');
}

// include error file
require_once('error.php');


?>